package ${packageName}.service;

import ${packageName}.entity.${entityName};
import com.baomidou.mybatisplus.core.metadata.IPage;
import ${packageName}.dto.req.${addReqDto};
import ${packageName}.dto.req.${updateReqDto};
import ${packageName}.dto.req.${queryPageReqDto};
import ${packageName}.dto.res.${queryResDto};
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

public interface ${serviceName} extends IService<${entityName}> {

    /**
     * 分页查询
     */
    IPage<${queryResDto}> query${entityName}Page(${queryPageReqDto} reqDto);

    /**
     * 添加
     */
    Boolean add${entityName}(${addReqDto} reqDto);

    /**
     * 编辑
     */
    Boolean update${entityName}(${updateReqDto} reqDto);

    /**
     * 批量删除
     */
    Boolean deleteBatch(List<Long> ids);

}